<?php
namespace app\common\validate;
use think\Validate;

class NavModel extends Validate
{
	protected $rule = [
		'nav_name' => 'require',
		'url' => 'require'
	];

	protected $message  = [
		'nav_name.require' => '菜单名字一定需要填写！',
		'url.require' => '导航地址一定需要填写！',
	];
}